package edu.scau.cxq.gp.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @description 存储库存信息
 * @return
 * @author TLC
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_inventory")
public class Inventory implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 库存记录编号
     */
    @TableId(value = "inv_id", type = IdType.AUTO)
    private Long invId;

    /**
     * 仓库编号
     */
    @TableField("ware_id")
    private Long wareId;

    /**
     * 货物编号
     */
    @TableField("goods_id")
    private Long goodsId;

    /**
     * 货物进货单价
     */
    @TableField("in_goods_price")
    private Double inGoodsPrice;

    /**
     * 货物总量（多少个货架）
     */
    @TableField("in_goods_amount")
    private Integer inGoodsAmount;

    /**
     * 货物占位
     */
    @TableField("in_goods_cost")
    private Integer inGoodsCost;

    /**
     * 货物总个数
     */
    @TableField("in_goods_count")
    private Integer inGoodsCount;

}
